import { defineAmisPlugin, getBaseFormItem, getInputTpl } from '../../base/util';
import component from './fc';
import type { IProps } from './interface';

export default defineAmisPlugin<IProps>(() => {
    return {
        component,
        options: getBaseFormItem({
            type: 'daterange-picker', order: -6978, name: '日期范围', icon: 'OneToOneOutlined',xtype:'RangePicker',
            tpls: [
                getInputTpl('showTime', { type: "switch", label: "显示时间" })
            ]
        })
    };
});
